home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 033a / maxjm110.zip / JMBATCH.BAT next >
DOS Batch File  |  1991-05-20  |  684b  |  22 lines

  1. @Echo Off
  2.  
  3. REM  Example batch file for MaxJM, the JModem - Maximus/Opus interface.
  4. REM  Please feel free to modify.
  5.  
  6. REM  NOTE: This file can be called JMBATCH.* -- i.e. 4DOS users can make this
  7. REM  a JMBATCH.BTM file, it could be compiled to an .EXE or .COM file, etc.
  8.  
  9. set JMODEM=SHUTUP
  10.  
  11. REM  NOTE: The JModem example below is set up for COM1 (i.e. %11).
  12. JModem %11 %2
  13.  
  14. IF ErrorLevel 1 ECHO Aborted Transfer >MAXJM.FLG
  15.  
  16. REM  The above line creates a "flag" file so that MaxJM can tell if the file
  17. REM  transfer was aborted for any reason.  MaxJM will look for this "flag"
  18. REM  file and act appropriately.  MaxJM will also delete the "flag" file.
  19.  
  20. set JMODEM=
  21.  
  22.